<?php require_once 'header.php'; ?>
<div class="banner">
  <div class="about">
    <div class="ntitle">
<h3><span><?php echo substr($qs,0,-1); ?></span><?php kw_page_title(); ?></h3>    </div>
  </div>
</div>
  
<div class="content">
  <div class="sidebar">



<div class="function navbar" id="navbar">
    <?php foreach ($kw_categories as $k => $v) {
        if($v['show'] == '2' || $v['show'] == '3'){
            echo "<h3>".$v['name']."</h3>";
            echo "<ul>";
            foreach ($v['pages'] as $kp => $vp) {?>
    <li><a <?php if(substr($qs,0,-1) == $kp){ echo "class='on'";}?> href="<?php echo $kw_config['site_link'].'?'.$kp. '/' ?>"><?php echo htmlspecialchars($kw_pages[$kp]['title']); ?></a></li>
    <?php
            }
            echo "</ul>";
        }
    }?>
</div> 
    
  </div>
  
  <div class="main">
    
    <!-- <div class="mainnavbar">当前位置：首页 > <?php kw_page_title(); ?></div> -->
    
    <div class="newshow">
    
      <div class="newtitle">
        <h1><?php kw_page_title(); ?></h1>
        <!--<h3>2013年12月02日</h3>-->
      </div>
      
      <div class="newtext">
          <p>
              <?php kw_the_content(); ?>
          </p>
      </div>

    </div>

  </div>
  <div class="clear"></div>
</div>

<?php require_once 'footer.php'; ?>